package com.vcc.service.boss.request.risk;


import jakarta.validation.constraints.NotNull;
import lombok.Data;
import org.hibernate.validator.constraints.Range;

import java.io.Serializable;

@Data
public class UpdateRiskStatusDto implements Serializable {

    @NotNull(message = "ID不能为空")
    private Long id;

    @NotNull(message = "状态不能为空")
    @Range(min = 0, max = 1, message = "状态值只能为0或1")
    private Integer status;


}
